<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/pic.css"/>    
    <script type="text/javascript" src="{cscms:tempurl}js/user.js"></script>
</head>
<body>
    {cscms:head}
    {cscms:right}
    <div class="layui-tab layui-tab-card" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
        <ul class="layui-tab-title">
            <li><a href="[user:url userlink=pic,type]">已通过相册</a></li>
            <li><a href="[user:url userlink=pic,verify]">审核中相册</a></li>
            <li><a href="[user:url userlink=pic]">我的图片</a></li>
            <a style="float: right;margin-right: 5px;margin-top: 5px" href="[user:url userlink=pic,addtype]" class="layui-btn layui-btn-small layui-btn-danger">制作</a>
        </ul>
        <div class="layui-tab-content" style="padding:10px;background-color: #fff">
            <div class="layui-tab-item layui-show">
            <form class="layui-form layui-form-pane" action="[user:pictypesave]" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">所属分类</label>
                    <div class="layui-input-block">
                        <select name="cid">
                        {cscms:class table="pic_list" fid="0" sort="xid" order="asc"}
                            <option value="[class:id]">&nbsp;|—[class:name]</option>
                            {cscmstype:class table="pic_list" fid="auto" sort="xid" order="asc"}
                            <option value="[class:id]">&nbsp;|&nbsp;&nbsp;&nbsp;|—[class:name]</option>
                            {/cscmstype:class}
                        {/cscms:class}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">相册标题</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" required lay-verify="required" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">歌手</label>
                    <div class="layui-input-block">
                        <input type="text" name="singer" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">标签</label>
                    <div class="layui-input-block">
                        <input id="tags" type="text" name="tags" placeholder="多个用逗号隔开" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">相册封面</label>
                    <div class="layui-input-block" style="margin-bottom: 5px">
                        <input id="pic" type="text" name="pic" class="layui-input">
                    </div>
                    <a href="javascript:cscms.get_upurl('pic','pic');" class="layui-btn layui-btn-primary layui-upload-icon" style="display: inline-block;margin: 0px;padding: 0px 15px"><i class="layui-icon" style="font-size:20px">&#xe61f;</i>上传相册封面</a>
                </div>
                {cscms:opt_field_pic_type}
                <input type="hidden" name="token" value="[user:token]"/>
                <div class="layui-form-item">
                    <div class="layui-input-block" style="text-align: center;margin-left: 0px">
                        <button class="layui-btn" lay-submit lay-filter="">提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
            </div>
        </div>
    </div>
{cscms:bottom}
<script type="text/javascript">
    
</script>
</body>
</html>